package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.cp.api.entity.crm.WorkCustTagInfoEntity;

import java.util.List;

/**
 * CRM标签业务服务
 */
public interface WorkCustTagInfoService extends IService<WorkCustTagInfoEntity> {

    /**
     * 查询全部
     * @return
     */
    List<WorkCustTagInfoEntity> listAll();

    /**
     * 删除分表全部数据
     * @return
     */
    boolean removeAll();

    /**
     * 批量分表保存
     * @return
     */
    boolean batchSaveAll(List<WorkCustTagInfoEntity> entityList);

    List<WorkCustTagInfoEntity> listByCustNo(String custNo);

}
